package com.dk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ClassName CollectionServiceApp
 * @Deacription TODO
 * @Author hqq
 * @Date 2021/11/2 11:32
 * @Version 1.0
 **/
@SpringBootApplication
@EnableSwagger2
@EnableFeignClients
@EnableDiscoveryClient  //注册中心
public class CollectionServiceApp {

    public static void main(String[] args) {
        SpringApplication.run(CollectionServiceApp.class,args);
    }
}
